{% extends 'base.html' %}

{% block content %}
    <br><br>
    <br>
        {% for message in get_flashed_messages(with_categories=True) %}
    <div class="alert alert-{{ message[0] }}" role="alert">
        <button type="button" class="close" data-dismiss="alert">&times;</button>
        {{ message[1] }}
    </div>
    {% endfor %}

        <div class="row">
  <div class="col-sm-4">
    <div class="card">
      <div class="card-body">
        <h5 class="card-title">Manage Posts</h5>
        <p class="card-text">You can manage posts here.</p>
        <a href="{{ url_for('admin.manage_post') }}" class="btn btn-primary">Manage</a>
      </div>
    </div>
  </div>
  <div class="col-sm-4">
    <div class="card">
      <div class="card-body">
        <h5 class="card-title">Manage Categories</h5>
        <p class="card-text">You can manage categories here.</p>
        <a href="{{ url_for('admin.manage_category') }}" class="btn btn-primary">Manage</a>
      </div>
    </div>
  </div>

  <div class="col-sm-4">
    <div class="card">
      <div class="card-body">
        <h5 class="card-title">Manage Comments</h5>
        <p class="card-text">You can manage comments here.</p>
        <a href="{{ url_for('admin.manage_comment') }}" class="btn btn-primary">Manage</a>
      </div>
    </div>
  </div>


</div>


{% endblock %}

{% block footer %}
{% endblock %}